package com.supreme.commonentity.mysql.primary;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * RED
 * @TableName tst_batch_green
 */
@TableName(value ="tst_batch_green")
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class BatchGreen extends BatchBase implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer batchGreenId;

    /**
     * 
     */
    private String batchCode;

    /**
     * 同步编码
     */
    private String syncCode;

    /**
     * 同步版本
     */
    private Integer syncVersion;

    /**
     * 创建时间
     */
    private Date createdAt;

    /**
     * 更新时间
     */
    private Date updatedAt;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}